﻿#include "CmdDoPrjTreeCollapseDir.h"
#include "PostCommandPy.h"
#include "BaseModule/IBaseSignal.h"

namespace PostCommand
{
    CmdDoPrjTreeCollapseDir::CmdDoPrjTreeCollapseDir()
        : CommandBase()
    {
        this->initCmdName();
    }

    CmdDoPrjTreeCollapseDir::~CmdDoPrjTreeCollapseDir()
    {
    }

    bool CmdDoPrjTreeCollapseDir::execute()
    {
        emit IBaseSignalInstance->signal_doPrjTreeCollapseDir(m_index);
        return true;
    }

    void CmdDoPrjTreeCollapseDir::undo()
    {
    }

    void CmdDoPrjTreeCollapseDir::redo()
    {
    }

} // namespace PostCommand

